
//@Controller(test)
//@Json
class TestController {

	//@Autowired
	testService;


	/**
		所有参数根据反射注入
	*/
	//@Get
	//@Param(usert1=query)
	async say(user,t1,request,response){
		return {msg:"Hello World",framework:this.testService.say(),t1};
	}


	//@Get(/name/:content)
	//@Param(content=path)
	async name(content){
		return `word => ${content}`;
	}

}



module.exports = {TestController}